package com.iurac.service;

import com.iurac.domain.DicType;
import com.iurac.domain.DicValue;
import com.iurac.exception.ManageException;
import com.iurac.vo.DictionaryVo;

import java.util.List;
import java.util.Map;

public interface DictionaryService {
    Map<String, List<DicValue>> getDictionary();

    List<DictionaryVo> getDictionaryByCondition();

    boolean deleteDictionaryByVid(String valueId) throws ManageException;

    List<DicType> getDicType();

    boolean saveDicType(DicType dicType) throws ManageException;

    boolean saveDicValue(DicValue dicValue) throws ManageException;

    boolean updateDicValue(DicValue dicValue) throws ManageException;
}
